package com.beamfield.dao.steelplant;

import com.beamfield.model.SteelplantSimpleInventoryDetail;
import com.beamfield.modelVo.SimpleInventoryDetailVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SteelplantSimpleInventoryDetailMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SteelplantSimpleInventoryDetail record);

    int insertSelective(SteelplantSimpleInventoryDetail record);

    SteelplantSimpleInventoryDetail selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SteelplantSimpleInventoryDetail record);

    int updateByPrimaryKey(SteelplantSimpleInventoryDetail record);

    int deleteByInventoryId(Long inventoryId);

    List<SimpleInventoryDetailVO> selectPage(@Param("offset") String offset, @Param("limit") String limit, @Param("inventoryId") String inventoryId);

    long countPage(String inventoryId);

    List<SteelplantSimpleInventoryDetail> selectBySuppliesId(String suppliesId);
}
